﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Dingdan_Service.aspx.cs" Inherits="WebPage_Dingdan_Service" %>


<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../UserControls/HeaderControl.ascx" TagName="HeaderControl" TagPrefix="uc2" %>
<%@ Register src="../UserControls/FooterControl.ascx" tagname="FooterControl" tagprefix="uc3" %>
<%@ Register src="UserControls/Dingdan.ascx" tagname="Dingdan" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
	<meta http-equiv="content-type" content="text/html" charset="UTF-8"/>

       <script>
           function isNum() {
               if (event.keyCode < 48 || event.keyCode > 57) {
                   event.keyCode = 0;
               }
           }

           function clearNoNum(obj) {
               obj.value = obj.value.replace(/[^\d.]/g, "");  //清除“数字”和“.”以外的字符 
               obj.value = obj.value.replace(/^\./g, "");  //验证第一个字符是数字而不是. 
               obj.value = obj.value.replace(/\.{2,}/g, "."); //只保留第一个. 清除多余的. 
               obj.value = obj.value.replace(".", "$#$").replace(/\./g, "").replace("$#$", ".");

           }

           function delete_confirm(e) {
               if (event.srcElement.outerText == "现金")
                   event.returnValue = confirm("确认本订单为现金付款?");


           }
           document.onclick = delete_confirm;
    </script>

	</head>
      <script type="text/javascript" src="../upfile/js/datePicker/WdatePicker.js"></script>
<body class="newbie">
    <form id="form1"  runat="server">
    <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">

<uc2:HeaderControl ID="HeaderControl1" runat="server" />
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<div class="dashboard" id="dashboard">
		<uc1:Dingdan 
                ID="Dingdan1" runat="server" />
	</div>
    <div id="content" class="coupons-box clear mainwide">
		<div class="box clear">
            
            <div class="box-content">
                <div class="head">
                    <h2><%=serviceValue %></h2>
					<ul class="filter"><li>用户名：<input type="text" name="uname" id="uname" runat="server" class="h-input" value="" >&nbsp;用户Email：<input type="text" name="uemail" id="uemail" runat="server" class="h-input" value="" >&nbsp;项目编号：<input type="text" name="team_id" id="team_id" runat="server" class="h-input number" value=""  onkeyup="clearNoNum(this)">&nbsp;<input type="submit" id="btnselect" value="筛选" class="formbutton"  style="padding:1px 6px;" name="btnselect"/></li></ul>
				</div>
                <div class="sect">
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">

                  

					<asp:Literal ID="Literal1" runat="server"></asp:Literal>
				   <asp:Literal ID="Literal2" runat="server"></asp:Literal>
					<tr><td colspan="10" ><ul class="paginator"><li class="current">
                        <webdiyer:AspNetPager ID="AspNetPager1" runat="server"  PageSize="30"
                            onpagechanged="AspNetPager1_PageChanged">
                        </webdiyer:AspNetPager>
                    </li></ul></td></tr>
                    </table>
                    
                 </div>
            </div>
        </div>
    </div>
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->
<uc3:FooterControl ID="FooterControl1" runat="server" />

</div>
    </form>
      <script type="text/javascript">

          jQuery(function () {
              $('input').keyup(function (event) {

                  if (event.keyCode == "13") {
                      document.getElementById("btnselect").click();   //服务器控件loginsubmit点击事件被触发
                      return false;
                  }

              });

          }); 
  </script>
</body>
</html>
